package cn.deschen.search.index.adRegion;

import cn.deschen.search.index.IndexObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author hanbin_chen
 * @Description 地区索引，与索引关联，第一版地区不做细化
 * @DateTime 2021/6/16
 * @Version V1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AdRegionObject extends IndexObject<AdRegionObject> {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;
}
